{%extends file="common/page/layout.tpl"%}
{%block name="block_head_static"%}
    {%* 模板中加载静态资源 *%}
    {%require name="home:static/myassemble/myassemble.less"%}
    {%require name="home:static/ui/table/table.less"%}
    {%require name="home:static/ui/button/button.less"%}
    {%require name="home:static/ui/one_block/one_block.less"%}
    {%require name="home:static/ui/section_photo/section_photo.less"%}
{%/block%}

{%block name="content"%}
    {%if $smarty.get.pid == 1%}
        <section id="record_header" class="section section_photo clearfix">
            <div class="container">
                <div  id="usable_credit" class="one_block left">
                        <div class="ob_icon"></div>
                        <div class="ob_context">
                            <div class="ob_title"></div>
                            <div class="ob_info">当前可购买份额</div>
                        </div>
                </div>
                <div id="today_credit" class="one_block left">
                        <div class="ob_icon"></div>
                        <div class="ob_context">
                            <div class="ob_title"></div>
                            <div class="ob_info">真融宝本日份额</div>
                        </div>
                </div>
                <div id="plat_count" class="one_block right">
                        <div class="ob_icon"></div>
                        <div class="ob_context">
                            <div class="ob_title"></div>
                            <div class="ob_info">平台数量</div>
                        </div>
                </div>
                <div id="credit_count" class="one_block right">
                        <div class="ob_icon"></div>
                        <div class="ob_context">
                            <div class="ob_title"></div>
                            <div class="ob_info">债权数量</div>
                        </div>
                </div>
            </div>
        </section>
    {%/if%}

	<section id="record" class="section container">
		<div class="record_title">债权组合列表</div>
		<table class="table table-striped">
			<thead>
				<tr>
					<th>债权名称</th>
					<th>债权类型</th>
					<th>平台名称</th>
					<th>我的转让金额</th>
					<th>转让年化收益率</th>
                    {%if $smarty.get.pid == 1%}
                        <th>真融宝风险备用金率</th>
                        <th>真融宝转让年化收益率</th>
                    {%/if%}
					<th>借款周期</th>
				</tr>
			</thead>
			<tbody>
			</tbody>
		</table>
	</section>
    {%block name="block_js_static"%}
    	{%require name="home:static/ui/modalbox/modalbox.js"%}
    	{%require name="home:static/myassemble/myassemble.js"%}
    {%/block%}
{%/block%}